<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$pageTitle}</title>

<meta http-equiv="imagetoolbar" content="no" />
<meta http-equiv="Content-Language" content="et_EE"/>
<meta name="author" content="{$metaAuthor}"/>
<meta name="description" content="{$metaDescription}"/>
<meta name="keywords" content="{$metaKeywords}"/>
<meta name="revisit-after" content="3 days"/>
<meta name="audience" content="all"/>
<meta name="robots" content="all, index, follow"/>
<meta name="allow-search" content="yes"/>

<link href="{$templateUrl}css.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
	pageUrl = "{$pageUrl}";
	mediaUrl = "{$mediaUrl}";
</script>

</head>
<body>
{$header}
<h1>Banner module</h1>

Banners module is meant for banner management. It allows defining locations for banners and show images and flash banners. See this sample for how to use this module.
<br/>
<a href="{$pageUrl}admin/" target="_blank">Banners admin</a><br/>
<a href="{$pageUrl}?highlight=1">Highlight banner locations and sizes</a> - this is just helpful Banner module function that returns highlighted areas into all defined locations.<br/>
<br/><br/>
<h1>Setting up</h1>
1) Copy admin controller and model files into your site.<br />
2) Define locations in Banner::getLocations() method.<br/>
3) Call Banner::getTable()->update() and Banner::createStatisticsTable()<br/>
4) See Site/BannersController.php for how to setup Banners into your site.<br/>
<br/><br/>
{$footer}
</body>
</html>